package org.linphone.sub.treeview;

import android.view.View;

import me.texy.treeview.base.BaseNodeViewBinder;
import me.texy.treeview.base.BaseNodeViewFactory;

/**
 * Created by Xiang on 2018/5/15.
 */

public class FirstItemViewFactory extends BaseNodeViewFactory {

	//重写引用的三级界面
	@Override
	public BaseNodeViewBinder getNodeViewBinder(View view, int level) {
		switch (level){
			case 0:
				return new AllList(view);
			case 1:
				return new FirstAllList(view);

			case 2:
				return new FirstItemList(view);
		}

		return null;
	}

}
